<template>
  <div>
    {{msg}}
    <!-- 取出query中的对应值 -->
    <h2>{{$route.query.name}}</h2>
    <h2>{{$route.query.age}}</h2>
    <h2>{{$route.query.height}}</h2>
  </div>
</template>


<script>
export default {
  name: "Profile",
  data() {
    return {
      msg: "这里是用户主页",
    };
  },
};
</script>